#include "thread.h"
#include <stdlib.h>

//freeing responsibility is on the caller
Thread* initThread(unsigned int id,int priority){
	Thread* result = (Thread*)malloc(sizeof(Thread));
	result->_priority = priority;
	result->_id = id;
	return result;
}

